/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package calculadora_basica;

import java.util.Scanner;

/**
 *
 * @author Gloria
 */
public class division {
    public double division(){
        
    Scanner num=new Scanner(System.in); 
     Scanner num2=new Scanner(System.in); 
    double a;
    double b;
     System.out.println("dame el numero a dividir");  
     a=num.nextDouble();
     System.out.println("dame el numero que divide");  
     b=num2.nextDouble();
     return a/b;
    }
}